<template>
  <div>
    <iframe
      id="iframeVue"
      :src="previewUrl"
      width="100%"
      :height="windowHeight"
      frameborder="no"
      border="0"
    />
  </div>
</template>

<script>
// import { easyDDUrl } from '@/api/company/pcw/pcwDataMain'

export default {
   props: {
      previewUrl: {
        type: String,
        default: () => '',
        required: false
      },
      easyPage: {
        type: String,
        default: () => '',
        required: false
      }
    },
  data() {
    return {
      windowHeight: document.documentElement.clientHeight - 220
    }
  },
  watch: {
  },
  mounted() {
  },
  created() {
    // easyDDUrl(this.easyPage).then(res => {
    //   this.previewUrl = res.data
    // })
  },
  method() {
  },
  methods: {
  }
}
</script>

<style scoped>

</style>
